/*
* Powered By [choudou5]
* Web Site: http://www.hsolr.com
* License：MIT
* Since 2018 - 2020
*/
package com.choudou5.solr.bean.sys;

import com.choudou5.solr.bean.common.BaseUserBean;
import com.choudou5.solr.framework.bean.BaseBean;

/**
 * @name：系统公告表 Bean
 * @author：choudou5
 * @date：2018-07-28
 */
public class SysNoticeBean extends BaseUserBean<Integer> {

    /**
     * id ID
     */
    private Integer id;
    /**
     * type 类型: update
     */
    private String type;
    /**
     * subject 主题
     */
    private String subject;

    /**
     * content 内容
     */
    private String content;
    /**
     * show_type 展示类型: alert、headtip
     */
    private String showType;
    /**
     * start_time 开始时间
     */
    private java.util.Date startTime;
    /**
     * end_time 结束时间
     */
    private java.util.Date endTime;
    /**
     * update_by 更新者
     */
    private Integer updateBy;
    /**
     * update_time 更新时间
     */
    private java.util.Date updateTime;
    /**
     * status 状态: 0=禁用，1=正常
     */
    private String status;

	public SysNoticeBean(){
	}

	public SysNoticeBean( Integer id ){
			setId(id);
	}

    public boolean isNew(){
        return this.id == null;
    }

    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getShowType() {
        return this.showType;
    }
    public void setShowType(String showType) {
        this.showType = showType;
    }
    public java.util.Date getStartTime() {
        return this.startTime;
    }
    public void setStartTime(java.util.Date startTime) {
        this.startTime = startTime;
    }
    public java.util.Date getEndTime() {
        return this.endTime;
    }
    public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
    public Integer getUpdateBy() {
        return this.updateBy;
    }
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }
    public java.util.Date getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(java.util.Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getStatus() {
        return this.status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
}
